//
//  NewsHomeViewCell.m
//  555彩票
//
//  Created by zhoubo on 2017/7/5.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import "NewsHomeViewCell.h"

@implementation NewsHomeViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
}

-(void)setNewsController:(NewsTableViewController *)newsController
{
    _newsController = newsController;
    [self addSubview:newsController.view];
}


-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.newsController.view.frame = self.bounds;
}



@end
